function drawGrids(target)

grid{1}.x = [0 0 5 5];
grid{1}.y = [0 5 0 5];
grid{2}.x = [5 5 10 10];
grid{2}.y = [0 5 0 5];
grid{3}.x = [0 0 5 5];
grid{3}.y = [5 10 5 10];
grid{4}.x = [5 5 10 10];
grid{4}.y = [5 10 5 10];

for i = 1 : 4
    surf(grid{i}.x, grid{i}.y, zeros(4), ones(4)*target(i));
    text(mean(grid{i}.x), mean(grid{i}.y), 0.15, num2str(i));
    hold on;

%     xtemp = linspace(min(grid{i}.x), max(grid{i}.x), 100);
%     ytemp = linspace(min(grid{i}.y), max(grid{i}.y), 100);
%     grid{i}.z = [1 1 1 1] * target(i)
%     [x, y] = meshgrid(xtemp, ytemp);
% 
%     z = griddata(grid{i}.x, grid{i}.y, grid{i}.z, x, y);
%     surf(x,y,z,'EdgeColor','none');
%     colormap hsv
%     alpha(.4)
%     hold on;

%     grid{i}.z = [1 1 1 1] * target(i);
%     X = [grid{i}.x', grid{i}.y', grid{i}.z'];
%     
%     colormap(hot) % heat map 
%     
%     hist3(X,[1 1],'FaceAlpha',.35);
%     set(gcf,'renderer','opengl');
%     set(get(gca,'child'),'FaceColor','interp','CDataMode','auto');
%     hold on;

end
    axis tight;
    colormap cool;
    colorbar;
    hold off;